package com.action.mvc.auth.entity;

import com.action.mvc.auth.common.BaseEntity;

/**
 * Created by Wuxiang on 2017/4/23.
 */
public class UserRole extends BaseEntity{
    private Long roleId;
    private Long userId;

    public UserRole() {

    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "UserRole{" +
                "id=" + getId() +
                ",roleId=" + roleId +
                ", userId=" + userId +
                '}';
    }
}
